Module: GettextI18nRailsJs::Parser::Javascript
- Extended by:
- Javascript
- Includes:
- Base
- Included in:
- Javascript
- Defined in:
- lib/gettext_i18n_rails_js/parser/javascript.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#target?(file) ⇒ Boolean
37 38 39 40 41 42 43 44 |
# File 'lib/gettext_i18n_rails_js/parser/javascript.rb', line 37 def target?(file) [ ".js", ".jsx", ".vue", ".coffee" ].include? ::File.extname(file) end |