Class: VivlioStarter::CLI::Guards::ContainerScanner::Directive

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/guards/container_scanner.rb

Overview

走査結果の 1 件。kind は :open または :close。 classes / attributes は :close では常に空配列。

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



27
28
29
# File 'lib/vivlio_starter/cli/guards/container_scanner.rb', line 27

def attributes
  @attributes
end

#classesObject (readonly)

Returns the value of attribute classes

Returns:

  • (Object)

    the current value of classes



27
28
29
# File 'lib/vivlio_starter/cli/guards/container_scanner.rb', line 27

def classes
  @classes
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



27
28
29
# File 'lib/vivlio_starter/cli/guards/container_scanner.rb', line 27

def kind
  @kind
end

#line_numberObject (readonly)

Returns the value of attribute line_number

Returns:

  • (Object)

    the current value of line_number



27
28
29
# File 'lib/vivlio_starter/cli/guards/container_scanner.rb', line 27

def line_number
  @line_number
end