Method: Ruber::AbstractProject#scope

Defined in:
lib/ruber/project.rb

#scopeObject

Returns the scope of the project (currently it must be either :global or document).

This method must be overridden in derived classes, as it only raises NoMethodError

Raises:

  • (NoMethodError)


141
142
143
# File 'lib/ruber/project.rb', line 141

def scope
  raise NoMethodError, "Undefined method `scope' for #{self}:#{self.class}"
end