Module: Videojuicer::Criterion::Base::InstanceMethods
- Defined in:
- lib/videojuicer/criterion/base.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
- #destroy(*args) ⇒ Object
- #eql?(other) ⇒ Boolean
- #matcher_attributes ⇒ Object
- #matcher_keys ⇒ Object
- #save(*args) ⇒ Object
Instance Method Details
#==(other) ⇒ Object
36 |
# File 'lib/videojuicer/criterion/base.rb', line 36 def ==(other); self.attributes == other.attributes; end |
#destroy(*args) ⇒ Object
35 |
# File 'lib/videojuicer/criterion/base.rb', line 35 def destroy(*args); raise NoMethodError; end |
#eql?(other) ⇒ Boolean
37 |
# File 'lib/videojuicer/criterion/base.rb', line 37 def eql?(other); self.attributes.eql?(other.attributes) end |
#matcher_attributes ⇒ Object
38 |
# File 'lib/videojuicer/criterion/base.rb', line 38 def matcher_attributes; end |
#matcher_keys ⇒ Object
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
34 |
# File 'lib/videojuicer/criterion/base.rb', line 34 def save(*args); raise NoMethodError; end |