if condition do
# execute here when condition is true
end
while condtion do
# execute here again and again while condition is true
end
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim say As String, i as Integer | |
say = "I love Ruby" | |
For i = 1 To 5 Step 1 | |
MsgBox say | |
Next i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
OlderNewer