Module: RideTheStreetcar
- Defined in:
- lib/ride_the_streetcar.rb,
lib/ride_the_streetcar/js.rb,
lib/ride_the_streetcar/dsl.rb,
lib/ride_the_streetcar/apply.rb,
lib/ride_the_streetcar/custom.rb,
lib/ride_the_streetcar/console.rb,
lib/ride_the_streetcar/version.rb,
lib/ride_the_streetcar/class_list.rb,
lib/ride_the_streetcar/set_property.rb,
lib/ride_the_streetcar/query_selector.rb,
lib/ride_the_streetcar/statements_list.rb
Defined Under Namespace
Modules: StatementsList Classes: Apply, ClassList, Console, Custom, DSL, Error, JS, QuerySelector, SetProperty
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
- .customize(mod) ⇒ Object
-
.dsl ⇒ StreetcarDSL
Provides a new "streetcar" to "ride" (aka the Streetcar DSL).
Class Method Details
.customize(mod) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/ride_the_streetcar.rb', line 15 def self.customize(mod) DSL.include mod DSL.include mod::GlobalStatements if mod.const_defined?(:GlobalStatements) QuerySelector.include mod QuerySelector.include mod::QueryStatements if mod.const_defined?(:QueryStatements) self end |
.dsl ⇒ StreetcarDSL
Provides a new "streetcar" to "ride" (aka the Streetcar DSL)
12 |
# File 'lib/ride_the_streetcar.rb', line 12 def self.dsl = DSL.new |