module Bashly::Script::Introspection::Examples

Public Instance Methods

examples() click to toggle source

Returns an array of examples

# File lib/bashly/script/introspection/examples.rb, line 6
def examples
  return nil unless options['examples']

  options['examples'].is_a?(Array) ? options['examples'] : [options['examples']]
end