Method: Metamorpher::Builders::AST::LiteralBuilder#shorthand?

Defined in:
lib/metamorpher/builders/ast/literal_builder.rb

#shorthand?(method, *_arguments, &_block) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/metamorpher/builders/ast/literal_builder.rb', line 11

def shorthand?(method, *_arguments, &_block)
  !method[/\p{Upper}/]
end