Sha256: 3aa4aeef29ec7e43e2737da3a918ebdf7fe097171c49f704fb202dd328a40f75

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

# Simple example
hi "User"
# p hi  # => "User"

# Local variables still work!
local_var = "it is me"
another_var = "not included in config but can be used as usual"

# Complex example
list do
  one "123"
  two "345"
  three do
    one "1"
    three_two one + " 2"
    three_three "three"
  end
  see "will_be_ovewritten"
end

list 5 do |index|
  append "anything"
  second index + 1
  square index ** 2
  
  see "overwritten!"
end

starting_time Time.now

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
configdsl-1.0.0 examples/test.cdsl.rb