Sha256: bb547bcd1dd457a1f428e1397cd7517454e63e38dff2d7c6f54a60e7f34f49aa

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

require 'osheet/mixin'

class DefaultMixin
  include Osheet::Mixin

end

class StyledMixin
  include Osheet::Mixin

  style('.test')
  style('.test.awesome')

end

class TemplatedMixin
  include Osheet::Mixin

  template(:column, :yo) { |color|
    width 200
    meta(:color => color)
  }
  template(:row, :yo_yo) {
    height 500
  }
  template(:worksheet, :go) {
    column(:yo, 'blue')
    row(:yo_yo)
  }

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
osheet-0.6.0 test/mixins.rb
osheet-0.5.0 test/mixins.rb