Class: Trebuchet::Strategy::Everyone
- Inherits:
-
Base
- Object
- Base
- Trebuchet::Strategy::Everyone
show all
- Includes:
- Singleton
- Defined in:
- lib/trebuchet/strategy/everyone.rb
Overview
Everyone is to launch the feature to everyone
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) ⇒ Everyone
Returns a new instance of Everyone.
6
7
8
|
# File 'lib/trebuchet/strategy/everyone.rb', line 6
def initialize(options = nil)
end
|
Instance Method Details
#launch_at?(user, request = nil) ⇒ Boolean
14
15
16
|
# File 'lib/trebuchet/strategy/everyone.rb', line 14
def launch_at?(user, request = nil)
true
end
|
#name ⇒ Object
10
11
12
|
# File 'lib/trebuchet/strategy/everyone.rb', line 10
def name
:everyone
end
|
#needs_user? ⇒ Boolean
18
19
20
|
# File 'lib/trebuchet/strategy/everyone.rb', line 18
def needs_user?
false
end
|
#to_s ⇒ Object
22
23
24
|
# File 'lib/trebuchet/strategy/everyone.rb', line 22
def to_s
"launched to everyone"
end
|