Sha256: ec0e067eb2f2b35066d5b1c182a0f1f0ba5b0612b8c6ac8a5ae70f2ed2505519
Contents?: true
Size: 408 Bytes
Versions: 156
Compression:
Stored size: 408 Bytes
Contents
class ForestLiana::Model::Segment include ActiveModel::Validations include ActiveModel::Conversion include ActiveModel::Serialization extend ActiveModel::Naming attr_accessor :id, :name, :scope, :where def initialize(attributes = {}, &block) attributes.each do |name, value| send("#{name}=", value) end @where = block if block end def persisted? false end end
Version data entries
156 entries across 156 versions & 1 rubygems