Class: Kameleon::DSL::Context::Scope
- Inherits:
-
Object
- Object
- Kameleon::DSL::Context::Scope
- Defined in:
- lib/kameleon/dsl/context/scope.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params) ⇒ Scope
constructor
A new instance of Scope.
- #selector ⇒ Object
Constructor Details
#initialize(params) ⇒ Scope
Returns a new instance of Scope.
8 9 10 |
# File 'lib/kameleon/dsl/context/scope.rb', line 8 def initialize(params) @params = params end |
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params.
6 7 8 |
# File 'lib/kameleon/dsl/context/scope.rb', line 6 def params @params end |
Instance Method Details
#selector ⇒ Object
12 13 14 |
# File 'lib/kameleon/dsl/context/scope.rb', line 12 def selector detect_selector(params) end |