Class: Rabarber::Input::Roles
- Inherits:
-
Base
- Object
- Base
- Rabarber::Input::Roles
show all
- Defined in:
- lib/rabarber/input/roles.rb
Instance Attribute Summary
Attributes inherited from Base
#error_message, #error_type
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #process
Instance Method Details
#valid? ⇒ Boolean
10
11
12
|
# File 'lib/rabarber/input/roles.rb', line 10
def valid?
value.all? { |role_name| Rabarber::Input::Role.new(role_name).valid? }
end
|
#value ⇒ Object
6
7
8
|
# File 'lib/rabarber/input/roles.rb', line 6
def value
Array(super)
end
|