Class: ShowStack

Inherits:
Object
  • Object
show all
Defined in:
lib/stack_rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/stack_rails.rb', line 6

def name
  @name
end

#nicknameObject

Returns the value of attribute nickname.



6
7
8
# File 'lib/stack_rails.rb', line 6

def nickname
  @nickname
end