Class: SenchaTouch::Rails::Template

Inherits:
Tilt::Template
  • Object
show all
Defined in:
lib/sencha-touch/rails/template.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(scope, locals, &block) ⇒ Object

Adds a “!” to original template.



10
11
12
13
14
# File 'lib/sencha-touch/rails/template.rb', line 10

def evaluate(scope, locals, &block)
  p "STR evaluate"
  #scope.require_asset "sencha-touch/form/FieldSet"
  data
end

#prepareObject



4
5
6
7
# File 'lib/sencha-touch/rails/template.rb', line 4

def prepare
  # Do any initialization here
  p "STR prepare"
end