Sha256: c9342644491284c5eb9f2f82bd305b8524a54cefbde9c27192828628f707ee7e
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
# encoding: utf-8 module Rango module Configurable # @since 0.0.1 # @example # Project.configure do # self.property = "value" # end # @yield [block] Block which will be evaluated in Project.setttings object. # @return [Rango::Settings::Framework] Returns project settings. def configure(&block) self.settings.instance_eval(&block) end def customize(&block) self.settings.instance_eval(&block) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rango-0.0.4 | lib/rango/mixins/configurable.rb |