Skip to content

Instantly share code, notes, and snippets.

@RPGP1
RPGP1 / command.rb
Created December 27, 2014 03:25
Rubyでコマンドシステム作ってみたら遅かった。(本体はcommand_test.rbです)
# coding: utf-8
require_relative './command_block'
require_relative './command_error'
require_relative './command_parts'
module Command
def self.included(mod)
mod.instance_eval do
include CommandSetter
Dim say As String, i as Integer
say = "I love Ruby"
For i = 1 To 5 Step 1
MsgBox say
Next i
@RPGP1
RPGP1 / DSLtest.md
Last active December 9, 2015 18:29
if condition do
  # execute here when condition is true
end

while condtion do
  # execute here again and again while condition is true
end
@RPGP1
RPGP1 / gem_make.out
Created March 17, 2017 12:47
failed in 'gem install debase'
current directory: C:/Ruby23/lib/ruby/gems/2.3.0/gems/debase-0.2.1/ext
C:/Ruby23/bin/ruby.exe -r ./siteconf20170317-11968-1h343qx.rb extconf.rb
checking for vm_core.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir