Sha256: 36c105b2302e5701154ae4a8e627b3a7306362f2674e9431e8e48b4ac1aaed36

Contents?: true

Size: 290 Bytes

Versions: 5

Compression:

Stored size: 290 Bytes

Contents

module GroupedScope
  
  class GroupedScopeError < StandardError #:nodoc:
  end
  
  class NoGroupIdError < GroupedScopeError #:nodoc:
    def initialize(owner) ; @owner = owner ; end
    def message ; %|The #{@owner.class} class does not have a "group_id" attribute.| ; end
  end
  
  
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
decisiv-grouped_scope-0.5.1.1 lib/grouped_scope/errors.rb
decisiv-grouped_scope-0.6.0.1 lib/grouped_scope/errors.rb
metaskills-grouped_scope-0.5.1 lib/grouped_scope/errors.rb
metaskills-grouped_scope-0.6.0 lib/grouped_scope/errors.rb
grouped_scope-0.6.1 lib/grouped_scope/errors.rb