Class: Turnip::Placeholder::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/turnip/placeholder.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



3
4
5
# File 'lib/turnip/placeholder.rb', line 3

def block
  @block
end

#regexpObject

Returns the value of attribute regexp

Returns:

  • (Object)

    the current value of regexp



3
4
5
# File 'lib/turnip/placeholder.rb', line 3

def regexp
  @regexp
end