Sha256: 31ccca7fe38163ce571b4fa52933bad12731e4bcacae85ab94eab63786beac32
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
module Ugigi class Scheme attr_accessor :element def method_missing(action, *args) return @element[action.to_s] rescue nil end public def params() @element.keys.map{|k|k.to_sym} ; end alias_method :available_methods, :params end class Index < Scheme def initialize(element) @element = element end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ugigi-0.2 | lib/ugigi/scheme.rb |