Module: ToeTag
- Defined in:
- lib/toe_tag.rb,
lib/toe_tag/version.rb
Defined Under Namespace
Modules: ExceptionBehavior, Util
Classes: CategorySpec, ExceptionSpec, MessageSpec, ProcSpec
Constant Summary
collapse
- VERSION =
"1.0.2"
Class Method Summary
collapse
Class Method Details
.category(*names) ⇒ Object
82
83
84
|
# File 'lib/toe_tag.rb', line 82
def self.category(*names)
CategorySpec.category(*names)
end
|
.with_message(message) ⇒ Object
149
150
151
|
# File 'lib/toe_tag.rb', line 149
def self.with_message(message)
MessageSpec.new(message)
end
|
.with_proc(&blk) ⇒ Object
103
104
105
|
# File 'lib/toe_tag.rb', line 103
def self.with_proc(&blk)
ProcSpec.new(&blk)
end
|