Skip to content

Commit

Permalink
resolved filter() overloaded builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 24, 2013
1 parent 5650b7f commit 7043fc0
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/ruby/ycp/builtins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ def self.change
raise "Builtin change() is not implemented yet"
end

# - Filters a List
# - Filter a Map
def self.filter
raise "Builtin filter() is not implemented yet"
end


###########################################################
# YCP Byteblock Builtins
Expand Down Expand Up @@ -113,11 +119,6 @@ def self.contains list, value
list.include? value
end

# Filters a List
def self.filter
raise "Builtin filter() is not implemented yet"
end

# Searches for the first occurence of a certain element in a list
def self.find
raise "Builtin find() is not implemented yet"
Expand Down Expand Up @@ -261,11 +262,6 @@ def self.union
# Map Builtins
###########################################################

# Filter a Map
def self.filter
raise "Builtin filter() is not implemented yet"
end

# Process the content of a map
def self.foreach
raise "Builtin foreach() is not implemented yet"
Expand Down

0 comments on commit 7043fc0

Please sign in to comment.