Skip to content

Commit

Permalink
resolved remove() overloaded builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 24, 2013
1 parent a59d3fc commit c060eb4
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions src/ruby/ycp/builtins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ def self.maplist
raise "Builtin maplist() is not implemented yet"
end

# - Removes element from a list
# - Remove key/value pair from a map
# - Remove item from term
def self.remove
raise "Builtin remove() is not implemented yet"
end


###########################################################
# YCP Byteblock Builtins
Expand Down Expand Up @@ -196,11 +203,6 @@ def self.prepend
raise "Builtin prepend() is not implemented yet"
end

# Removes element from a list
def self.remove
raise "Builtin remove() is not implemented yet"
end

# Selects a list element (deprecated, use LIST[INDEX]:DEFAULT)
def self.select
raise "Builtin select() is not implemented yet"
Expand Down Expand Up @@ -290,11 +292,6 @@ def self.mapmap
raise "Builtin mapmap() is not implemented yet"
end

# Remove key/value pair from a map
def self.remove
raise "Builtin remove() is not implemented yet"
end

# Size of a map
def self.size
raise "Builtin size() is not implemented yet"
Expand Down Expand Up @@ -642,11 +639,6 @@ def self.argsof
raise "Builtin argsof() is not implemented yet"
end

# Remove item from term
def self.remove
raise "Builtin remove() is not implemented yet"
end

# Select item from term
def self.select
raise "Builtin select() is not implemented yet"
Expand Down

0 comments on commit c060eb4

Please sign in to comment.