Class: ActiveScaffold::Config::PrintList
- Defined in:
- lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb
Constant Summary collapse
- @@link =
ActiveScaffold::DataStructures::ActionLink.new('print_list', :label => :print, :type => :table, :security_method => :print_list_authorized?, :popup => true)
- @@font_size =
8
- @@header_text =
''
Instance Attribute Summary collapse
-
#font_size ⇒ Object
instance-level configuration —————————-.
-
#header_text ⇒ Object
attr_accessor :footer_font_size attr_accessor :header_font_size attr_accessor :header_image attr_accessor :header_size.
Attributes inherited from PrintBase
#empty_field_text, #label, #link, #maximum_rows
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(core_config) ⇒ PrintList
constructor
A new instance of PrintList.
Methods inherited from Base
#crud_type, #formats, #formats=, inherited
Methods included from ActiveScaffold::Configurable
Constructor Details
#initialize(core_config) ⇒ PrintList
Returns a new instance of PrintList.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb', line 6 def initialize(core_config) super @font_size = self.class.font_size # # old print_pdf stuff # @footer_font_size = self.class.footer_font_size # @header_font_size = self.class.header_font_size # @header_image = self.class.header_image # @header_size = self.class.header_size # @header_text = self.class.header_text # @orientation = self.class.orientation end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable
Instance Attribute Details
#font_size ⇒ Object
instance-level configuration
43 44 45 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb', line 43 def font_size @font_size end |
#header_text ⇒ Object
attr_accessor :footer_font_size attr_accessor :header_font_size attr_accessor :header_image attr_accessor :header_size
48 49 50 |
# File 'lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/config/print_list.rb', line 48 def header_text @header_text end |