Class: Sinatra::Ember::TemplateSpec
- Inherits:
-
Object
- Object
- Sinatra::Ember::TemplateSpec
- Defined in:
- lib/sinatra/ember.rb
Instance Attribute Summary collapse
-
#globs ⇒ Object
Returns the value of attribute globs.
-
#opts ⇒ Object
Returns the value of attribute opts.
-
#route ⇒ Object
Returns the value of attribute route.
Instance Method Summary collapse
-
#initialize(route, globs, opts) ⇒ TemplateSpec
constructor
A new instance of TemplateSpec.
Constructor Details
#initialize(route, globs, opts) ⇒ TemplateSpec
Returns a new instance of TemplateSpec.
113 114 115 116 117 |
# File 'lib/sinatra/ember.rb', line 113 def initialize(route, globs, opts) @route = route @globs = globs @opts = opts end |
Instance Attribute Details
#globs ⇒ Object
Returns the value of attribute globs.
111 112 113 |
# File 'lib/sinatra/ember.rb', line 111 def globs @globs end |
#opts ⇒ Object
Returns the value of attribute opts.
111 112 113 |
# File 'lib/sinatra/ember.rb', line 111 def opts @opts end |
#route ⇒ Object
Returns the value of attribute route.
111 112 113 |
# File 'lib/sinatra/ember.rb', line 111 def route @route end |