Sha256: e593680d9eedd3a1bb9863b0a7ef62ced538a4af805fac88eea3d20d9a3f52d6

Contents?: true

Size: 204 Bytes

Versions: 5

Compression:

Stored size: 204 Bytes

Contents

module ProMotion
  class Element
    attr_accessor :view

    def initialize(with_view)
      self.view = with_view
      self
    end

    def remove
      self.view.removeFromSuperview
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ProMotion-0.3.0 lib/ProMotion/classes/Element.rb
ProMotion-0.2.0 lib/ProMotion/classes/Element.rb
ProMotion-0.1.2 lib/ProMotion/classes/Element.rb
ProMotion-0.1.1 lib/ProMotion/classes/Element.rb
ProMotion-0.1.0 lib/ProMotion/classes/Element.rb