Module: ReactJSXSprockets
- Extended by:
- ReactJSXSprockets
- Included in:
- ReactJSXSprockets
- Defined in:
- lib/react-jsx-sprockets.rb,
lib/react-jsx-sprockets/jsx.rb,
lib/react-jsx-sprockets/tilt.rb,
lib/react-jsx-sprockets/version.rb
Defined Under Namespace
Constant Summary collapse
- DEFAULT_EXTENTIONS =
%w( jsx ).freeze
- VERSION =
"0.2.0"
Instance Attribute Summary collapse
-
#extensions ⇒ Object
writeonly
Sets the attribute extensions.
Instance Method Summary collapse
- #configure {|_self| ... } ⇒ Object
-
#sprockets ⇒ Object
Register extention(s) with Sprockets.
- #template_extensions ⇒ Object
Instance Attribute Details
#extensions=(value) ⇒ Object (writeonly)
Sets the attribute extensions
11 12 13 |
# File 'lib/react-jsx-sprockets.rb', line 11 def extensions=(value) @extensions = value end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
13 14 15 |
# File 'lib/react-jsx-sprockets.rb', line 13 def configure yield(self) end |
#sprockets ⇒ Object
Register extention(s) with Sprockets
23 |
# File 'lib/react-jsx-sprockets.rb', line 23 require 'sprockets' |
#template_extensions ⇒ Object
17 18 19 |
# File 'lib/react-jsx-sprockets.rb', line 17 def template_extensions @template_extensions ||= DEFAULT_EXTENTIONS end |