Class: Trebuchet::Strategy::Nobody
- Inherits:
-
Base
- Object
- Base
- Trebuchet::Strategy::Nobody
show all
- Includes:
- Singleton
- Defined in:
- lib/trebuchet/strategy/nobody.rb
Overview
Nobody is to launch the feature to nobody
Instance Attribute Summary
Attributes inherited from Base
#feature
Instance Method Summary
collapse
Methods inherited from Base
#as_json, #export, #feature_id, #inspect, strategy_name
Constructor Details
#initialize(options = nil) ⇒ Nobody
Returns a new instance of Nobody.
6
7
8
|
# File 'lib/trebuchet/strategy/nobody.rb', line 6
def initialize(options = nil)
end
|
Instance Method Details
#launch_at?(user, request = nil) ⇒ Boolean
14
15
16
|
# File 'lib/trebuchet/strategy/nobody.rb', line 14
def launch_at?(user, request = nil)
false
end
|
#name ⇒ Object
10
11
12
|
# File 'lib/trebuchet/strategy/nobody.rb', line 10
def name
:nobody
end
|
#needs_user? ⇒ Boolean
18
19
20
|
# File 'lib/trebuchet/strategy/nobody.rb', line 18
def needs_user?
false
end
|
#to_s ⇒ Object
22
23
24
|
# File 'lib/trebuchet/strategy/nobody.rb', line 22
def to_s
"launched to nobody"
end
|