Module: Coaster
- Defined in:
- lib/coaster.rb,
lib/coaster/git.rb,
lib/coaster/util.rb,
lib/coaster/version.rb,
lib/coaster/cmd_options.rb,
lib/coaster/git/options.rb,
lib/coaster/git/repository.rb,
lib/coaster/safe_yaml_serializer.rb,
lib/coaster/serialized_properties.rb
Defined Under Namespace
Modules: Git, SerializedProperties, Util
Classes: CmdOptions, SafeYamlSerializer
Constant Summary
collapse
- DEFAULT_FINGERPRINT =
[:default, :class].freeze
- VERSION =
'1.4.16'
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
20
21
22
|
# File 'lib/coaster.rb', line 20
def configure
yield self
end
|
.default_fingerprint ⇒ Object
24
25
26
|
# File 'lib/coaster.rb', line 24
def default_fingerprint
@@default_fingerprint ||= DEFAULT_FINGERPRINT
end
|
28
29
30
31
32
|
# File 'lib/coaster.rb', line 28
def logger
return @@logger if defined?(@@logger) && @@logger
return Rails.logger if defined?(Rails)
@@logger = Logger.new(STDOUT)
end
|
Instance Method Details
35
36
37
|
# File 'lib/coaster.rb', line 35
def logger
self.class.logger
end
|