Module: Montage
- Defined in:
- lib/montage.rb,
lib/montage/source.rb,
lib/montage/sprite.rb,
lib/montage/project.rb,
lib/montage/version.rb,
lib/montage/commands.rb,
lib/montage/sass_builder.rb,
lib/montage/commands/init.rb,
lib/montage/commands/generate.rb,
lib/montage/sprite_definition.rb
Defined Under Namespace
Modules: Commands Classes: Project, SassBuilder, Source, Sprite, SpriteDefinition
Constant Summary collapse
- MontageError =
Generic exception for all Montage exception classes.
Class.new(StandardError)
- MissingProject =
Raised when a project directory couldn’t be found.
Class.new(MontageError)
- ProjectExists =
Raised when a creating a new project in an existing project directory.
Class.new(MontageError)
- MissingSource =
Raised when a sprite set expects a source image, but none could be found.
Class.new(MontageError)
- TargetNotWritable =
Raised when a sprite can’t be saved due to incorrect permissions.
Class.new(MontageError)
- MissingName =
Raised when a sprite defintion doesn’t include a name.
Class.new(MontageError)
- DuplicateName =
Raised when a sprite defines a :name path segment, and a name option.
Class.new(MontageError)
- MissingTo =
Raised when a sprite definition doesn’t have a to option.
Class.new(MontageError)
- VERSION =
File.read(File.('../../../VERSION', __FILE__)).strip