Module: Apotomo
- Defined in:
- lib/apotomo.rb,
lib/apotomo/event.rb,
lib/apotomo/widget.rb,
lib/apotomo/railtie.rb,
lib/apotomo/version.rb,
lib/apotomo/test_case.rb,
lib/apotomo/event_handler.rb,
lib/apotomo/widget/tree_node.rb,
lib/apotomo/widget_shortcuts.rb,
lib/apotomo/rails/view_helper.rb,
lib/apotomo/request_processor.rb,
lib/apotomo/invoke_event_handler.rb,
lib/apotomo/javascript_generator.rb,
lib/apotomo/widget/event_methods.rb,
lib/apotomo/rails/controller_methods.rb,
lib/apotomo/widget/javascript_methods.rb,
lib/generators/apotomo/widget_generator.rb
Defined Under Namespace
Modules: EventMethods, Generators, JavascriptMethods, Rails, TreeNode, WidgetShortcuts Classes: Event, EventHandler, InvokeEventHandler, JavascriptGenerator, Railtie, RequestProcessor, TestCase, Widget
Constant Summary collapse
- VERSION =
'1.3.0'
Class Attribute Summary collapse
-
.js_framework ⇒ Object
Returns the value of attribute js_framework.
-
.js_generator ⇒ Object
readonly
Returns the value of attribute js_generator.
Class Method Summary collapse
-
.setup {|_self| ... } ⇒ Object
Apotomo setup/configuration helper for initializer.
Class Attribute Details
.js_framework ⇒ Object
Returns the value of attribute js_framework.
8 9 10 |
# File 'lib/apotomo.rb', line 8 def js_framework @js_framework end |
.js_generator ⇒ Object (readonly)
Returns the value of attribute js_generator.
8 9 10 |
# File 'lib/apotomo.rb', line 8 def js_generator @js_generator end |
Class Method Details
.setup {|_self| ... } ⇒ Object
Apotomo setup/configuration helper for initializer.
Usage/Examples:
Apotomo.setup do |config|
config.js_framework = :jquery
end
17 18 19 |
# File 'lib/apotomo.rb', line 17 def setup yield self end |