Class: Foghorn::Methods::I
- Inherits:
-
Object
- Object
- Foghorn::Methods::I
- Defined in:
- lib/foghorn/methods.rb
Overview
Class Method Summary collapse
- .boy ⇒ Object
- .go_away(exit_code = 0) ⇒ Object
-
.i ⇒ Object
These class methods (and aliases) allow us to repeat ourselves repeat ourselves without using method missing.
-
.say(string_or_class = nil) ⇒ Object
If we get a string puts it, otherwise return our I class so we can recurse.
Class Method Details
.boy ⇒ Object
13 14 15 |
# File 'lib/foghorn/methods.rb', line 13 def self.boy Foghorn::Methods::I end |
.go_away(exit_code = 0) ⇒ Object
30 31 32 |
# File 'lib/foghorn/methods.rb', line 30 def self.go_away(exit_code = 0) exit exit_code end |