Class: IControl::LocalLB::MatchPatternString

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/local_lb.rb,
lib/icontrol/local_lb.rb

Overview

A struct that describes a pattern, represented either as a glob or a regular expression.

Instance Attribute Summary collapse

Instance Attribute Details

#is_globObject

The flag to indicate whether this is a glob or a regular expression.

Returns:

  • (Object)

    the current value of is_glob



212
213
214
# File 'lib/icontrol/local_lb.rb', line 212

def is_glob
  @is_glob
end

#patternString

The match pattern string.

Returns:

  • (String)

    the current value of pattern



212
213
214
# File 'lib/icontrol/local_lb.rb', line 212

def pattern
  @pattern
end