Created
April 26, 2011 17:26
-
-
Save railsfactory/942695 to your computer and use it in GitHub Desktop.
mirah import example
This file contains 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
#in bar folder | |
class Bar | |
class Baz | |
def hello | |
puts "hello from Baz" | |
end | |
end | |
end |
This file contains 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
import bar.Baz | |
b = Baz.new | |
b.hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package bar
class Baz
def hello
puts "hello from Baz"
end
end