Module: MustBe::MustOnlyEverContain::Base
- Defined in:
- lib/must_be/containers.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#must_only_ever_contain_backtrace ⇒ Object
Returns the value of attribute must_only_ever_contain_backtrace.
-
#must_only_ever_contain_cases ⇒ Object
Returns the value of attribute must_only_ever_contain_cases.
-
#must_only_ever_contain_negate ⇒ Object
Returns the value of attribute must_only_ever_contain_negate.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#must_only_ever_contain_backtrace ⇒ Object
Returns the value of attribute must_only_ever_contain_backtrace.
149 150 151 |
# File 'lib/must_be/containers.rb', line 149 def must_only_ever_contain_backtrace @must_only_ever_contain_backtrace end |
#must_only_ever_contain_cases ⇒ Object
Returns the value of attribute must_only_ever_contain_cases.
149 150 151 |
# File 'lib/must_be/containers.rb', line 149 def must_only_ever_contain_cases @must_only_ever_contain_cases end |
#must_only_ever_contain_negate ⇒ Object
Returns the value of attribute must_only_ever_contain_negate.
149 150 151 |
# File 'lib/must_be/containers.rb', line 149 def must_only_ever_contain_negate @must_only_ever_contain_negate end |
Class Method Details
.included(base) ⇒ Object
168 169 170 |
# File 'lib/must_be/containers.rb', line 168 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#must_only_ever_contain_prefix ⇒ Object
172 173 174 175 |
# File 'lib/must_be/containers.rb', line 172 def must_only_ever_contain_prefix must_only_ever_contain_negate ? "must_never_ever_contain: " : "must_only_ever_contain: " end |