Class: PeppersGhost::Ghost
- Inherits:
-
Object
- Object
- PeppersGhost::Ghost
show all
- Defined in:
- lib/peppers-ghost/ghost.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
6
7
8
|
# File 'lib/peppers-ghost/ghost.rb', line 6
def method_missing(method, *args, &block)
attributes << method
end
|
Instance Method Details
#attributes ⇒ Object
2
3
4
|
# File 'lib/peppers-ghost/ghost.rb', line 2
def attributes
@attributes ||= []
end
|