class Object

Public Instance Methods

float?() click to toggle source
# File lib/csv_record/helpers.rb, line 9
def float?
  /(?<number>^\d+\.\d+)$/ =~ to_s
  not number.nil?
end
integer?() click to toggle source
# File lib/csv_record/helpers.rb, line 4
def integer?
  /(?<number>^\d+$)/ =~ to_s
  not number.nil?
end
to_param() click to toggle source
# File lib/csv_record/helpers.rb, line 14
def to_param
  self
end
underscored_class_name() click to toggle source
# File lib/csv_record/helpers.rb, line 18
def underscored_class_name
  self.class.name.underscore
end