class Foghorn::Methods::I
Public Class Methods
boy()
click to toggle source
# File lib/foghorn/methods.rb, line 13 def self.boy Foghorn::Methods::I end
go_away(exit_code = 0)
click to toggle source
# File lib/foghorn/methods.rb, line 30 def self.go_away(exit_code = 0) exit exit_code end
i()
click to toggle source
These class methods (and aliases) allow us to repeat ourselves repeat ourselves without using method missing
# File lib/foghorn/methods.rb, line 8 def self.i Foghorn::Methods::I end
say(string_or_class = nil)
click to toggle source
If we get a string puts it, otherwise return our I
class so we can recurse
# File lib/foghorn/methods.rb, line 21 def self.say(string_or_class = nil) if string_or_class puts string_or_class else Foghorn::Methods::I end end