Module: Videojuicer::Criterion::Base::InstanceMethods

Defined in:
lib/videojuicer/criterion/base.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



36
# File 'lib/videojuicer/criterion/base.rb', line 36

def ==(other); self.attributes == other.attributes; end

#destroy(*args) ⇒ Object

Raises:

  • (NoMethodError)


35
# File 'lib/videojuicer/criterion/base.rb', line 35

def destroy(*args); raise NoMethodError; end

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


37
# File 'lib/videojuicer/criterion/base.rb', line 37

def eql?(other); self.attributes.eql?(other.attributes) end

#matcher_attributesObject



38
# File 'lib/videojuicer/criterion/base.rb', line 38

def matcher_attributes;  end

#matcher_keysObject

Raises:

  • (NoMethodError)


48
49
50
# File 'lib/videojuicer/criterion/base.rb', line 48

def matcher_keys
  raise NoMethodError, "Matcher Attributes needs to be implemented for #{self.class}";
end

#save(*args) ⇒ Object

Raises:

  • (NoMethodError)


34
# File 'lib/videojuicer/criterion/base.rb', line 34

def save(*args); raise NoMethodError; end