GitXplorerGitXplorer
j

misc

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.

No commits found

There are no commits on branch master.

README

The README file for this repository.

= Intro A place for things that really have no where else to go.

= Logic DSL Stupid little DSL that prints human readable logic text from human readable ruby text. puts this.is('blue').and {that.is('blue').or that.is('green')}.and this.is('yellow') this is blue and (that is blue or that is green) and this is yellow

== Why would you use it You wouldn't. At least not in its current form. But you could do something like make Command reference a hash and make "is" and "is_not" do logic tests. Of course you would need to add "and" and "or" to either Object or TrueClass/FalseClass, but it would let you do this (if you cared).

if this.is('blue').and that.is('yellow') puts 'green' end