Sha256: 0f344ffe50adfb8e9f59eecaf8547e055325d01dfc6370899919eb872b80104c
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
module Ugigi class Scheme protected 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ugigi-0.1 | lib/ugigi/scheme.rb |
ugigi-0.0.1 | lib/ugigi/scheme.rb |