Module: Onceler
- Defined in:
- lib/onceler/recorder.rb,
lib/onceler/recordable.rb,
lib/onceler/basic_helpers.rb,
lib/onceler/configuration.rb,
lib/onceler/ambitious_helpers.rb
Defined Under Namespace
Modules: AmbitiousHelpers, BasicHelpers, Recordable
Classes: Configuration, NamedRecording, Recorder, Recording
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.recording ⇒ Object
Returns the value of attribute recording.
5
6
7
|
# File 'lib/onceler/recorder.rb', line 5
def recording
@recording
end
|
Class Method Details
.configuration ⇒ Object
2
3
4
|
# File 'lib/onceler/configuration.rb', line 2
def self.configuration
@configuration ||= Configuration.new
end
|
6
7
8
|
# File 'lib/onceler/configuration.rb', line 6
def self.configure
yield configuration
end
|
.recording? ⇒ Boolean
7
8
9
|
# File 'lib/onceler/recorder.rb', line 7
def recording?
@recording
end
|