monaco-editor/website/index/samples/sample.ruby.txt

21 lines
519 B
Plaintext
Raw Normal View History

2016-06-16 18:34:36 +08:00
#-------------------------------------------------------------------------
# Copyright (c) Microsoft. All rights reserved.
#--------------------------------------------------------------------------
module Azure
module Blob
class Blob
def initialize
@properties = {}
@metadata = {}
yield self if block_given?
end
attr_accessor :name
attr_accessor :snapshot
attr_accessor :properties
attr_accessor :metadata
end
end
end