Class: PostEmAll::Post
- Inherits:
-
Object
- Object
- PostEmAll::Post
- Defined in:
- lib/post-em-all.rb
Class Method Summary collapse
Class Method Details
.post? ⇒ Boolean
56 57 58 |
# File 'lib/post-em-all.rb', line 56 def self.post? @condition end |
.when(&block) ⇒ Object
53 54 55 |
# File 'lib/post-em-all.rb', line 53 def self.when(&block) @condition = block end |