module EfoNelfo

Constants

DuplicateProperty
InvalidPostType
InvalidPropertyType
UnknownPropertyOption
UnsupportedPostType
VERSION

Public Class Methods

load(filename) click to toggle source
# File lib/efo_nelfo.rb, line 35
def load(filename)
  Reader::CSV.new(filename: filename).parse
end
parse(data) click to toggle source
# File lib/efo_nelfo.rb, line 39
def parse(data)
  Reader::CSV.new(data: data).parse
end
strict_mode=(mode) click to toggle source

In strict mode, EfoNelfo will raise exceptions when a value exceeds the property limit

# File lib/efo_nelfo.rb, line 31
def strict_mode=(mode)
  @strict_mode = mode
end
strict_mode?() click to toggle source
# File lib/efo_nelfo.rb, line 26
def strict_mode?
  @strict_mode || false
end