Method: NsOptions::NamespaceData#ns_respond_to?
- Defined in:
- lib/ns-options/namespace_data.rb
#ns_respond_to?(meth) ⇒ Boolean
123 124 125 126 127 128 129 130 |
# File 'lib/ns-options/namespace_data.rb', line 123 def ns_respond_to?(meth) dslm = DslMethod.new(meth) has_namespace?(dslm.name) || # namespace reader has_option?(dslm.name) || # option reader dslm.writer? || # dynamic option writer false end |