Class: Dreader::Column
- Inherits:
-
Object
- Object
- Dreader::Column
- Defined in:
- lib/dreader.rb
Overview
service class to implement the column DSL language
Instance Method Summary collapse
Instance Method Details
#check(&block) ⇒ Object
15 16 17 |
# File 'lib/dreader.rb', line 15 def check &block @check = block end |
#colref(colref) ⇒ Object
7 8 9 |
# File 'lib/dreader.rb', line 7 def colref colref @colref = colref end |
#process(&block) ⇒ Object
11 12 13 |
# File 'lib/dreader.rb', line 11 def process &block @process = block end |
#to_hash ⇒ Object
19 20 21 |
# File 'lib/dreader.rb', line 19 def to_hash {process: @process, check: @check, colref: @colref } end |