Class: ActiveScaffold::Config::PrintBase
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb
Direct Known Subclasses
Constant Summary collapse
- @@empty_field_text =
''
- @@maximum_rows =
10000
Instance Attribute Summary collapse
-
#empty_field_text ⇒ Object
Returns the value of attribute empty_field_text.
- #label ⇒ Object
-
#link ⇒ Object
instance-level configuration —————————- the ActionLink for this action.
-
#maximum_rows ⇒ Object
Returns the value of attribute maximum_rows.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(core_config) ⇒ PrintBase
constructor
A new instance of PrintBase.
Methods inherited from Base
#crud_type, #formats, #formats=, inherited
Methods included from ActiveScaffold::Configurable
Constructor Details
#initialize(core_config) ⇒ PrintBase
Returns a new instance of PrintBase.
6 7 8 9 10 11 12 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb', line 6 def initialize(core_config) @core = core_config # inherit from global scope @empty_field_text = self.class.empty_field_text @maximum_rows = self.class.maximum_rows end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable
Instance Attribute Details
#empty_field_text ⇒ Object
Returns the value of attribute empty_field_text.
29 30 31 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb', line 29 def empty_field_text @empty_field_text end |
#label ⇒ Object
35 36 37 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb', line 35 def label @label ? as_(@label) : @core.label end |
#link ⇒ Object
instance-level configuration
the ActionLink for this action
27 28 29 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb', line 27 def link @link end |
#maximum_rows ⇒ Object
Returns the value of attribute maximum_rows.
31 32 33 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_base.rb', line 31 def maximum_rows @maximum_rows end |