module EsriShapefile::ByteModel

Attributes

metadata[RW]

Public Class Methods

extended(model) click to toggle source
# File lib/esri_shapefile/byte_model.rb, line 10
def self.extended(model)
  error_message = "\nInvalid ByteModel usage: `extend EsriShapefile::ByteModel`\n"
  error_message << "Please change the syntax to `include EsriShapefile::ByteModel'"
  raise error_message
end
included(model) click to toggle source
# File lib/esri_shapefile/byte_model.rb, line 6
def self.included(model)
  model.extend(ClassMethods)
end