Sha256: 0fe713354db80c4f413abd140c128be663f3e4973ffc5739acb75e6d55399d80

Contents?: true

Size: 223 Bytes

Versions: 7

Compression:

Stored size: 223 Bytes

Contents

class Configus::Config
  def method_missing(meth, *args, &blk)
    if Persey.config.to_hash.has_key?(meth)
      Persey.config.send(meth)
    else
      raise "'#{meth}' key does not exist in your config"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
persey-1.0.0 lib/persey/configus_patch.rb
persey-0.0.11 lib/persey/configus_patch.rb
persey-0.0.10 lib/persey/configus_patch.rb
persey-0.0.9 lib/persey/configus_patch.rb
persey-0.0.8 lib/persey/configus_patch.rb
persey-0.0.7 lib/persey/configus_patch.rb
persey-0.0.6 lib/persey/configus_patch.rb