Sha256: f8410bb6c62e0d5a63b0c11f5c7b2cdc9f40362468d81a7bfe19baa1f41a9f93

Contents?: true

Size: 238 Bytes

Versions: 15

Compression:

Stored size: 238 Bytes

Contents

module Commander
class Command
class Options
  
  delegate :each, :to_a, :[], to: :to_h
  
  def class
    Commander::Command::Options
  end
  
  def try(key)
    self.to_h[key.to_sym]
  end
  
  def to_h
    __hash__
  end
  
end
end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
quandl-0.4.4 lib/commander/command/quandl_ext.rb
quandl-0.4.3 lib/commander/command/quandl_ext.rb
quandl-0.4.2 lib/commander/command/quandl_ext.rb
quandl-0.4.1 lib/commander/command/quandl_ext.rb
quandl-0.4.0 lib/commander/command/quandl_ext.rb
quandl-0.3.7 lib/commander/command/quandl_ext.rb
quandl-0.3.6 lib/commander/command/quandl_ext.rb
quandl-0.3.4 lib/commander/command/quandl_ext.rb
quandl-0.3.3 lib/commander/command/quandl_ext.rb
quandl-0.3.0 lib/commander/command/quandl_ext.rb
quandl-0.2.27 lib/commander/command/quandl_ext.rb
quandl-0.2.26 lib/commander/command/quandl_ext.rb
quandl-0.2.25 lib/commander/command/quandl_ext.rb
quandl-0.2.24 lib/commander/command/quandl_ext.rb
quandl-0.2.22 lib/commander/command/quandl_ext.rb