Module: Rescpos

Defined in:
lib/rescpos.rb,
lib/rescpos/table.rb,
lib/rescpos/report.rb,
lib/rescpos/printer.rb,
lib/rescpos/version.rb,
lib/rescpos/report_util.rb,
lib/rescpos/configuration.rb

Defined Under Namespace

Modules: ReportUtil Classes: Configuration, Printer, Report, Table

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

.configurationObject



15
16
17
# File 'lib/rescpos.rb', line 15

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/rescpos.rb', line 19

def self.configure
  yield configuration if block_given?
end