Class: Ea::Ocl::Nodes::StringMatches

Inherits:
Struct
  • Object
show all
Defined in:
lib/ea/ocl/nodes.rb

Overview

<string>.matches('<regex>')

Instance Attribute Summary collapse

Instance Attribute Details

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



23
24
25
# File 'lib/ea/ocl/nodes.rb', line 23

def pattern
  @pattern
end

#stringObject

Returns the value of attribute string

Returns:

  • (Object)

    the current value of string



23
24
25
# File 'lib/ea/ocl/nodes.rb', line 23

def string
  @string
end