Module: RgGen::Core::Base::FeatureLayerExtension::RegisterFile
- Includes:
- Common
- Defined in:
- lib/rggen/core/base/feature_layer_extension.rb
Instance Method Summary
collapse
Methods included from Common
#bit_field?, #register?, #register_block?, #register_file?, #root?
Instance Method Details
#block_or_file ⇒ Object
66
67
68
|
# File 'lib/rggen/core/base/feature_layer_extension.rb', line 66
def block_or_file
register_file.block_or_file
end
|
#files_and_registers ⇒ Object
74
75
76
|
# File 'lib/rggen/core/base/feature_layer_extension.rb', line 74
def files_and_registers
block_or_file.files_and_registers
end
|
#register_block ⇒ Object
62
63
64
|
# File 'lib/rggen/core/base/feature_layer_extension.rb', line 62
def register_block
register_file.register_block
end
|
#register_file(layer = nil) ⇒ Object
70
71
72
|
# File 'lib/rggen/core/base/feature_layer_extension.rb', line 70
def register_file(layer = nil)
layer == :upper ? @component.register_file : @component
end
|
58
59
60
|
# File 'lib/rggen/core/base/feature_layer_extension.rb', line 58
def root
register_file.root
end
|