Module: Readymade
- Defined in:
- lib/readymade.rb,
lib/readymade/form.rb,
lib/readymade/action.rb,
lib/readymade/version.rb,
lib/readymade/response.rb,
lib/readymade/operation.rb,
lib/readymade/instant_form.rb,
lib/readymade/background_job.rb,
lib/readymade/model/filterable.rb,
lib/readymade/background_bang_job.rb,
lib/readymade/model/api_attachable.rb,
lib/readymade/model/validatable_enum.rb,
lib/readymade/controller/serialization.rb,
lib/generators/readymade/install_generator.rb
Defined Under Namespace
Modules: Controller, Generators, Model Classes: Action, BackgroundBangJob, BackgroundJob, Config, Error, Form, InstantForm, Operation, Response
Constant Summary collapse
- VERSION =
'0.4.4'
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
19 20 21 |
# File 'lib/readymade.rb', line 19 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
21 22 23 24 |
# File 'lib/readymade.rb', line 21 def configure self.config ||= Config.new yield(config) end |