Top Level Namespace
Defined Under Namespace
Instance Method Summary collapse
- #base_class_for_template_handler_required? ⇒ Boolean
- #class_attribute_supported? ⇒ Boolean
- #template_has_class_level_call_method? ⇒ Boolean
- #template_should_include_compilable? ⇒ Boolean
Instance Method Details
#base_class_for_template_handler_required? ⇒ Boolean
14 15 16 |
# File 'lib/prawnto/available_features.rb', line 14 def base_class_for_template_handler_required? ::Rails::VERSION::MAJOR < 3 end |
#class_attribute_supported? ⇒ Boolean
26 27 28 |
# File 'lib/prawnto/available_features.rb', line 26 def class_attribute_supported? ::Rails::VERSION::MAJOR >= 3 end |