Sha256: b3caba4a7c22160465dbfe8af43b8eec507643c424295430dc4b3df642d62460

Contents?: true

Size: 276 Bytes

Versions: 49

Compression:

Stored size: 276 Bytes

Contents

# -*- coding: utf-8 -*-
module RubyToBlock
  module Block
    class HardwareInitHardware < Base
      blocknize '^\s*init_hardware\s*$', statement: true

      def self.process_match_data(md, context)
        context.blocks.push(new)

        true
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
smalruby-editor-0.1.11-x86-mingw32 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.10-x86-mingw32 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.10 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.9-x86-mingw32 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.9 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.8-x86-mingw32 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.8 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.7-x86-mingw32 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb
smalruby-editor-0.1.7 app/models/concerns/ruby_to_block/block/hardware_init_hardware.rb