class Mago::RubyFile

Represents a ruby file with magic numbers.

Attributes

magic_numbers[R]

@attribute magic_numbers [Array<Mago::MagicNumber>] magic numbers

path[R]

@attribute path [String] file path

Public Class Methods

new(path) click to toggle source

@param path [String] file path

# File lib/mago/ruby_file.rb, line 11
def initialize(path)
  @path = path
  @magic_numbers = []
end