Sha256: 83f2312f59ed0bc30cc634c57cc8ec3f735534602937e84ad17f698adaf7e470
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
# # base.rb # smile # # Created by Zac Kleinpeter on 2009-04-28. # Copyright 2009 Cajun Country. All rights reserved. # module Smile class Base include Smile::Common attr_accessor :attributes class << self include Smile::Common def configure yield( session ) end def clear_config! session.clear_config! end end def initialize( options={} ) @attributes = OpenStruct.new( options ) end def method_missing( name, *args ) @attributes.send(name,args) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smile-0.4.3 | lib/smile/base.rb |
smile-0.4.1 | lib/smile/base.rb |