Skip to content

Instantly share code, notes, and snippets.

@akirill0v
Last active December 15, 2015 23:59
Show Gist options
  • Save akirill0v/5343855 to your computer and use it in GitHub Desktop.
Save akirill0v/5343855 to your computer and use it in GitHub Desktop.
processor = Processor.new(arch: :i386, cores: 2)
dsk1 = Disk.new(size: 150.GB, speed:7200)
dsk2 = Disk.new(size: 70.GB, speed:7200)
computer = Computer.new({
processor: processor,
disks: [dsk1, dsk2]
})
def siae(arg)
# ...
self
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment