Class: ShowStack
- Inherits:
-
Object
- Object
- ShowStack
- Defined in:
- lib/stack_rails.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#nickname ⇒ Object
Returns the value of attribute nickname.
Instance Method Summary collapse
-
#initialize(init) ⇒ ShowStack
constructor
A new instance of ShowStack.
Constructor Details
#initialize(init) ⇒ ShowStack
Returns a new instance of ShowStack.
8 9 10 |
# File 'lib/stack_rails.rb', line 8 def initialize(init) @init = init end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/stack_rails.rb', line 6 def name @name end |
#nickname ⇒ Object
Returns the value of attribute nickname.
6 7 8 |
# File 'lib/stack_rails.rb', line 6 def nickname @nickname end |