Class: Commander::Command::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/commander/command/quandl_ext.rb

Instance Method Summary collapse

Instance Method Details

#classObject



7
8
9
# File 'lib/commander/command/quandl_ext.rb', line 7

def class
  Commander::Command::Options
end

#to_hObject



15
16
17
# File 'lib/commander/command/quandl_ext.rb', line 15

def to_h
  __hash__
end

#try(key) ⇒ Object



11
12
13
# File 'lib/commander/command/quandl_ext.rb', line 11

def try(key)
  self.to_h[key.to_sym]
end