Module: Bashly::Script::Introspection::Examples
- Included in:
- Command
- Defined in:
- lib/bashly/script/introspection/examples.rb
Instance Method Summary collapse
-
#examples ⇒ Object
Returns an array of examples.
Instance Method Details
#examples ⇒ Object
Returns an array of examples
6 7 8 9 10 |
# File 'lib/bashly/script/introspection/examples.rb', line 6 def examples return nil unless ['examples'] ['examples'].is_a?(Array) ? ['examples'] : [['examples']] end |