Skip to content

Commit

Permalink
Final compromise :P
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Nov 6, 2013
1 parent d75fe8f commit a879014
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/net/aufdemrand/denizen/objects/Element.java
Expand Up @@ -205,6 +205,15 @@ public String getAttribute(Attribute attribute) {
// Takes an operator, and compares the value of the element to the supplied
// element. Returns the outcome of the comparable, either true or false. For
// information on operators, see !lang operator.
// -->

// <--[tag]
// @attribute <el@element.is[<operator>].than[<element>]>
// @returns Element(Boolean)
// @description
// Takes an operator, and compares the value of the element to the supplied
// element. Returns the outcome of the comparable, either true or false. For
// information on operators, see !lang operator.
// Note: can use .than instead of .to for better readability with certain operators.
// -->
if (attribute.startsWith("is") && attribute.hasContext(1)
Expand Down

0 comments on commit a879014

Please sign in to comment.