Class: Stastic::Command::Info

Inherits:
Base
  • Object
show all
Defined in:
lib/stastic/commands/info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Stastic::Command::Base

Instance Attribute Details

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/stastic/commands/info.rb', line 3

def name
  @name
end

Instance Method Details

#indexObject



5
6
7
# File 'lib/stastic/commands/info.rb', line 5

def index
  puts info
end