class CSVBox::Layout

Public Class Methods

new() click to toggle source
# File lib/csv_box.rb, line 37
def initialize
  @featuremap = {}
end

Public Instance Methods

fetch(layout) click to toggle source
# File lib/csv_box.rb, line 33
def fetch(layout)
  @featuremap.fetch(layout)
end
layout(feature, &block) click to toggle source
# File lib/csv_box.rb, line 29
def layout(feature, &block)
  @featuremap.store(feature, block)
end