This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| desc "a" | |
| task :a do | |
| system "tree" | |
| system "git status" | |
| end | |
| desc "b" | |
| task :b => :a do | |
| system "ls" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #This file has been generated by gator and wants to be edited by you! | |
| Gator.project = Gator::Project.new "gator" | |
| Gator.project.layout[:source,:main,:ruby] = "lib" | |
| Gator.project.layout[:source,:test,:ruby] = "test" | |
| puts Gator.project.path(:source,:main,:ruby) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "buildr/as3" | |
| FLEX_SDK = FlexSDK.new("4.5.0.20967") | |
| define "BuildingModules" do | |
| project.version = "0.0.0" | |
| define "Application" do | |
| compile.using :mxmlc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Configuration | |
| def create_method(name, &block) | |
| self.class.send(:define_method, name, &block ) | |
| end | |
| def add_configuration(name) | |
| create_method "#{name.to_s}=" do |val| | |
| instance_variable_set("@#{name}",val) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package | |
| { | |
| import flash.display.Sprite; | |
| public class Test extends Sprite | |
| { | |
| public function Test() | |
| { | |
| var a:Value = new Value(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Sandbox | |
| end | |
| class App | |
| def initialize | |
| app = self | |
| Sandbox.class.send(:define_method, :app) do | |
| puts app | |
| end | |
| Sandbox.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Node | |
| private | |
| _upstream/_parents: Vector.<Node> | |
| _downstream/_children: Vector.<Node> | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyObject | |
| def instanceMethod | |
| "MyObject" | |
| end | |
| end | |
| module MyMixin | |
| def instanceMethod | |
| "MyMixin" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enum MyEnum | |
| { | |
| first; | |
| second; | |
| third(param:MyParam); | |
| } | |
| class MyClass | |
| { | |
| private var _state:MyEnum; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enum MyEnum | |
| { | |
| first; | |
| second; | |
| third(param:MyParam); | |
| } | |
| class MyClass | |
| { | |
| private var _state:MyEnum; |