module Apotomo

Constants

VERSION

Attributes

js_framework[R]
js_generator[R]

Public Class Methods

js_framework=(js_framework) click to toggle source
# File lib/apotomo.rb, line 3
def js_framework=(js_framework)
  @js_framework = js_framework
  @js_generator = JavascriptGenerator.new(js_framework)
end
setup() { |self| ... } click to toggle source

Apotomo setup/configuration helper for initializer.

Usage/Examples:

Apotomo.setup do |config|
  config.js_framework = :jquery
end
# File lib/apotomo.rb, line 17
def setup
  yield self
end