Sha256: 1a3ca84024ea872543b743c915f1b5d4c537603d9a9f86aaaf837cbf223c085b

Contents?: true

Size: 245 Bytes

Versions: 1

Compression:

Stored size: 245 Bytes

Contents

module FigNewton
  module Missing
    def method_missing(*args, &block)
      m = args.first
      value = @yml[m.to_s]
      super unless value
      value = FigNewton::Node.new(value) unless value.kind_of? String
      value
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fig_newton-0.2 lib/fig_newton/missing.rb