class SimpleReport::Field

Attributes

block[R]
field[R]
force[R]
format[R]
name[R]
value[R]
width[R]

Public Class Methods

new(name, field, format: nil, width: 10, value: nil, force: nil, &block) click to toggle source
# File lib/simple_report/field.rb, line 5
def initialize(name, field, format: nil, width: 10, value: nil, force: nil, &block)
  @name = name
  @field = field
  @width = width
  @value = value
  @block = block
  @format = format
  @force = force
end