Module: Crystal
- Defined in:
- lib/crystal/tag.rb,
lib/crystalmeta.rb,
lib/crystal/meta.rb,
lib/crystal/tags.rb,
lib/crystal/railtie.rb,
lib/crystal/version.rb,
lib/crystal/view_helpers.rb,
lib/crystal/interpolates_tags.rb,
lib/crystal/controller_extensions.rb,
lib/crystal/options_for_controller.rb,
lib/crystal/hash_with_stringify_keys.rb
Defined Under Namespace
Modules: ControllerExtensions, ViewHelpers
Classes: HashWithStringifyKeys, InterpolatesTags, Meta, OptionsForController, Railtie, Tag, TagNotFound, Tags
Constant Summary
collapse
- VERSION =
'0.9.4'
Class Method Summary
collapse
Class Method Details
.setup_action_controller(base) ⇒ Object
13
14
15
16
17
|
# File 'lib/crystalmeta.rb', line 13
def self.setup_action_controller(base)
base.class_eval do
include Crystal::ControllerExtensions
end
end
|
.setup_action_view(base) ⇒ Object
19
20
21
22
23
|
# File 'lib/crystalmeta.rb', line 19
def self.setup_action_view(base)
base.class_eval do
include Crystal::ViewHelpers
end
end
|